﻿using System;
using System.Collections.Generic;
using System.Text;
using PDOGenerator.MapTypes;

namespace PDOGenerator.Generators
{
    public abstract class ClassGenerator
    {
        public static ClassGenerator GetCodeGenerator(Project p)
        {
            return new ToPDOClass(p);
        }


        public static ClassGenerator GetStoredProcGenerator(Project p)
        {
            return new ToStoredProcedure(p);
        }

        public abstract string Generate(TableMap Table);
    }
}
